﻿<?xml version="1.0" encoding="utf-8" ?>
<FieldTypes>
  <FieldType>
    <Field Name="TypeName">SPExtendedImageField</Field>
    <Field Name="ParentType">Text</Field>
    <Field Name="TypeDisplayName">$Resources:ImagePicker, Description</Field>
    <Field Name="TypeShortDescription">Image Picker</Field>
    <Field Name="UserCreatable">TRUE</Field>
    <Field Name="Sortable">TRUE</Field>
    <Field Name="AllowBaseTypeRendering">TRUE</Field>
    <Field Name="Filterable">TRUE</Field>
    <Field Name="FieldTypeClass">RGB.SharePoint.Util.SPExtendedImageField.SPExtendedImageField, RGB.SharePoint.Util.SPExtendedImageField, Version=1.0.0.0, Culture=neutral, PublicKeyToken=7324bbf057d6c44e</Field>
    <RenderPattern Name="DisplayPattern">
      <Switch>
        <Expr>
          <Column />
        </Expr>
        <Case Value=""></Case>
        <Default>
          <HTML>
            <![CDATA[<a href="]]>
          </HTML>
          <Column />
          <HTML>
            <![CDATA[">]]>
          </HTML>
          <HTML>
            <![CDATA[<img src="]]>
          </HTML>
          <Column />
          <HTML>
            <![CDATA[" style="border:0px;" /></a>]]>
          </HTML>
        </Default>
      </Switch>
    </RenderPattern>
  </FieldType>
</FieldTypes>

